package com.atguigu.gmall.common.config.minio.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description 专门封装配置文件中Minio的所有参数配置项
 * @create 2022-11-01 8:47
 */
//@Component //只有容器中的组件，才能使用到Spring提供的注解功能增强
@ConfigurationProperties(prefix = "app.minio")
@Data
public class AppMinioProperties {

    private String endpoint;

    private String accessKey;

    private String secretKey;

    private String bucket;
}
